<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link rel="stylesheet" type="text/css" href="styles/css/bootstrap.min.css" />
<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="" class="brand" style="color:white">Kaishengit PMS</a>
				<div class="nar-collapse pull-right">
					<ul class="nav">
					<c:choose>
						
						<c:when test="${sessionScope.user != null }">
							<li style="margin-top:5px"><img width="25" height="25" src="img.jspx?img=${user.picture}"/></li>
							<li><a href="#">欢迎<span style="color:yellow;">${sessionScope.user.userName }</span>回来！</a></li>
							
							<li><a href="main.jspx?id={user.userId}">首页</a></li>
							<li><a href="index.jsp">安全退出</a></li>

						</c:when>
						<c:otherwise>
							<a href="index.jsp" style="color:yellow;text-decoration:none">请先登录</a>
						
						</c:otherwise>
					</c:choose>
						
					</ul>
				</div>
			</div>
		</div>
	</div>

	